func runtime.readgstatus

43 uses

	runtime (current package)
		heapdump.go#L358: 	dumpint(uint64(readgstatus(gp)))
		heapdump.go#L413: 		status := readgstatus(gp) // The world is stopped so gp will not be in a scan state.
		mfinal.go#L331: 		empty = empty && readgstatus(fing) == _Gwaiting && fing.waitreason == waitReasonFinalizerWait
		mgcmark.go#L140: 				"status", readgstatus(gp),
		mgcmark.go#L215: 		status := readgstatus(gp) // We are not in a scan state
		mgcmark.go#L228: 			selfScan := gp == userG && readgstatus(userG) == _Grunning
		mgcmark.go#L857: 	if readgstatus(gp)&_Gscan == 0 {
		mgcmark.go#L858: 		print("runtime:scanstack: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", hex(readgstatus(gp)), "\n")
		mgcmark.go#L862: 	switch readgstatus(gp) &^ _Gscan {
		mgcmark.go#L864: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		mgcmark.go#L869: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		mprof.go#L1427: 	if readgstatus(gp1) == _Gdead {
		mprof.go#L1482: 	if readgstatus(gp1) == _Grunning {
		mprof.go#L1517: 		return gp1 != gp && readgstatus(gp1) != _Gdead && !isSystemGoroutine(gp1, false)
		panic.go#L1482: 	status := readgstatus(gp)
		preempt.go#L106: 	if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
		preempt.go#L123: 		switch s := readgstatus(gp); s {
		preempt.go#L265: 	switch s := readgstatus(gp); s {
		preempt.go#L344: 	return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
		proc.go#L449: 	status := readgstatus(gp)
		proc.go#L687: 	if readgstatus(gp) == _Gidle {
		proc.go#L957: 	print("runtime:   gp: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		proc.go#L958: 	print("runtime: getg:  g=", thisg, ", goid=", thisg.goid, ",  g->atomicstatus=", readgstatus(thisg), "\n")
		proc.go#L1118: 	status := readgstatus(gp)
		proc.go#L1204: func readgstatus(gp *g) uint32 {
		proc.go#L3269: 	status := readgstatus(gp.m.lockedg.ptr())
		proc.go#L4285: 	status := readgstatus(gp)
		proc.go#L4338: 	status := readgstatus(gp)
		proc.go#L5193: 	if readgstatus(newg) != _Gdead {
		proc.go#L5321: 	if readgstatus(gp) != _Gdead {
		proc.go#L6149: 		s := readgstatus(gp)
		proc.go#L6603: 		print("  G", gp.goid, ": status=", readgstatus(gp), "(", gp.waitreason.String(), ") m=")
		signal_unix.go#L768: 		if crashing.Load() > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
		stack.go#L1098: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->status=", hex(readgstatus(gp)), "\n ")
		stack.go#L1225: 	if traceEnabled() && readgstatus(gp)&^_Gscan == _Gwaiting && gp.waitreason.isWaitingForSuspendG() {
		stack.go#L1239: 	if s := readgstatus(gp); s&_Gscan == 0 {
		trace.go#L396: 				ug.status = readgstatus(s.g) &^ _Gscan
		traceback.go#L840: 	if readgstatus(gp)&^_Gscan == _Gsyscall {
		traceback.go#L1215: 	gpstatus := readgstatus(gp)
		traceback.go#L1293: 		if gp == me || gp == curgp || readgstatus(gp) == _Gdead || !showf(gp) || (isSystemGoroutine(gp, false) && level < 2) {
		traceback.go#L1302: 		if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {
		tracestack.go#L44: 		status := readgstatus(gp)
		tracestatus.go#L69: 		if w.mp.p.ptr() == pp && w.mp.curg != nil && readgstatus(w.mp.curg)&^_Gscan == _Gsyscall {